package com.example.shop_car_2208

import android.app.Application
import com.alibaba.android.arouter.launcher.ARouter
import com.example.shop_car_2208.db.MyDBUtils
import com.umeng.commonsdk.UMConfigure
import com.umeng.socialize.PlatformConfig

class MyApp: Application() {
    override fun onCreate() {
        super.onCreate()
        //开启路由配置
        ARouter.openLog()
        ARouter.openDebug()
        ARouter.init(this)
        MyDBUtils.init(this)
        UMConfigure.init(this, "5a12384aa40fa3551f0001d1", "umeng", UMConfigure.DEVICE_TYPE_PHONE, "")
        PlatformConfig.setQQZone("101830139","5d63ae8858f1caab67715ccd6c18d7a5")
    }
}